
// OpenBrother
OpenBlock.I18N['iotvar.h'] = '云变量';
OpenBlock.I18N['pushVar_Integer'] = '推送整数';
OpenBlock.I18N['pullVar_Integer'] = '拉取整数';
OpenBlock.I18N['pushVar_Number'] = '推送数字';
OpenBlock.I18N['pullVar_Number'] = '拉取数字';
OpenBlock.I18N['pushVar_String'] = '推送字符串';
OpenBlock.I18N['pullVar_String(vm,'] = '拉取字符串';

OpenBlock.Env.registerNativeFunction('Xing_Shuo_V1', 'iotvar.h', 'iotvar.h', [
    {
        method_name: 'pushVar_Integer',
        arguments: [
            {
                type: 'String',
                name: 'name'
            },
            {
                type: 'Integer',
                name: 'value'
            }
        ],
    },
    {
        method_name: 'pullVar_Integer',
        returnType: 'Integer',
        arguments: [
            {
                type: 'String',
                name: 'name'
            }
        ],
    },


    
    {
        method_name: 'pushVar_Number',
        arguments: [
            {
                type: 'String',
                name: 'name'
            },
            {
                type: 'Number',
                name: 'value'
            }
        ],
    },
    {
        method_name: 'pullVar_Number',
        returnType: 'Number',
        arguments: [
            {
                type: 'String',
                name: 'name'
            }
        ],
    },


    
    {
        method_name: 'pushVar_String',
        arguments: [
            {
                type: 'String',
                name: 'name'
            },
            {
                type: 'String',
                name: 'value'
            }
        ],
    },
    {
        method_name: 'pullVar_String(vm,',
        returnType: 'String',
        arguments: [
            {
                type: 'String',
                name: 'name'
            }
        ],
    },
]);
